package com.maixin.code.utils;
/**
 * 分页工具对象，保存上一页，下一页，页数等等分页信息
 * @author SJ
 *
 */
public class PageUtils {
	private Integer prePage = 0;		//上一页
	private Integer nextPage = 2;		//下一页
	private Integer curPage = 1;		//当前页
	private Integer totalRow;			//总页数
	public static Integer pageSize = 15;		//每页行数
	public Integer getPrePage() {
		return prePage;
	}
	public void setPrePage(Integer prePage) {
		this.prePage = prePage;
	}
	public Integer getNextPage() {
		return nextPage;
	}
	public void setNextPage(Integer nextPage) {
		this.nextPage = nextPage;
	}
	public Integer getCurPage() {
		return curPage;
	}
	public void setCurPage(Integer curPage) {
		this.curPage = curPage;
	}
	public Integer getTotalRow() {
		return totalRow;
	}
	public void setTotalRow(Integer totalRow) {
		this.totalRow = totalRow;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	
	

}
